Persistent cookie
Creating a persistent cookies requires more information than
a session cookie and you must also provide an expiry date for the
cookie. It is also necessary to encode the cookie text so that special
characters (an equals sign or a space, for example) will not be
lost in the process of reading or writing the cookie. Encoding and
decoding the cookie is achieved using the JavaScript escape and
unescape functions. Here's a sample page containing a persistent
cookie which is used to change the background of the page. Click
on the Sample link below to see the cookie in action, or the Code
link to copy the code without having to type it all out yourself.

|
Requirements: Browser
|
Sample: please
insert disc 2
|
Code: please
insert disc 2
|
|
|